package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 平台服务订单对象 gw_platform_service_order
 * 
 * @author ruoyi
 * @date 2025-05-09
 */
public class GwPlatformServiceOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 订单号 */
    @Excel(name = "订单号")
    private String orderNumber;

    /** 服务事项 */
    @Excel(name = "服务事项")
    private String serviceMatters;

    /** 服务费用 */
    @Excel(name = "服务费用")
    private BigDecimal serviceFee;

    /** 企业主键 */
    @Excel(name = "企业主键")
    private String enterprise;

    /** 服务说明 */
    @Excel(name = "服务说明")
    private String serviceDescription;

    /** 联系人 */
    @Excel(name = "联系人")
    private String userName;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phone;

    /** 状态 1 待支付 2 已支付 3 已取消 */
    @Excel(name = "状态 1 待支付 2 已支付 3 已取消")
    private String status;

    /** 支付人 */
    @Excel(name = "支付人")
    private String payUser;

    /** 支付时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "支付时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date payTime;

    /** 删除标识 0 正常 1 删除 */
    private String delFlag;
    /**企业名称*/
    private String enterpriseName;
    /**支付方式*/
    private String payType;
    /**微信、支付宝支付订单号*/
    private String transactionId;
    /**微信小程序登录用户的openId*/
    private String openId;

    public String getEnterpriseName() {
        return enterpriseName;
    }

    public void setEnterpriseName(String enterpriseName) {
        this.enterpriseName = enterpriseName;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setOrderNumber(String orderNumber) 
    {
        this.orderNumber = orderNumber;
    }

    public String getOrderNumber() 
    {
        return orderNumber;
    }

    public void setServiceMatters(String serviceMatters) 
    {
        this.serviceMatters = serviceMatters;
    }

    public String getServiceMatters() 
    {
        return serviceMatters;
    }

    public void setServiceFee(BigDecimal serviceFee) 
    {
        this.serviceFee = serviceFee;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public BigDecimal getServiceFee()
    {
        return serviceFee;
    }

    public void setEnterprise(String enterprise) 
    {
        this.enterprise = enterprise;
    }

    public String getEnterprise() 
    {
        return enterprise;
    }

    public void setServiceDescription(String serviceDescription) 
    {
        this.serviceDescription = serviceDescription;
    }

    public String getServiceDescription() 
    {
        return serviceDescription;
    }

    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public void setPayUser(String payUser)
    {
        this.payUser = payUser;
    }

    public String getPayUser() 
    {
        return payUser;
    }

    public void setPayTime(Date payTime) 
    {
        this.payTime = payTime;
    }

    public Date getPayTime() 
    {
        return payTime;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public String getTransactionId() {
        return transactionId;
    }

    public void setTransactionId(String transactionId) {
        this.transactionId = transactionId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderNumber", getOrderNumber())
            .append("serviceMatters", getServiceMatters())
            .append("serviceFee", getServiceFee())
            .append("enterprise", getEnterprise())
            .append("serviceDescription", getServiceDescription())
            .append("userName", getUserName())
            .append("phone", getPhone())
            .append("status", getStatus())
            .append("payUser", getPayUser())
            .append("payTime", getPayTime())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
